package org.example.DesignPatterns.Observer;

/**
 * @description:
 * @author: farprt
 * @create: 2022-09-25 13:26
 **/
public abstract class Buyer {

    protected String name;

    public Buyer(String name){
        this.name=name;
    }

    public abstract void inform(String product);
}